AI SDK Kotlin
Toggle table of contents
0.3.0-alpha01
common
Target filter
common
Switch theme
Search in API
Skip to content
AI SDK Kotlin
AI SDK Kotlin
/
ai.torad.aisdk
/
validateTypes
validate
Types
fun
<
T
>
validateTypes
(
value
:
JsonElement
,
schema
:
Schema
<
T
>
,
context
:
TypeValidationContext
?
=
null
)
:
T
fun
<
T
>
validateTypes
(
value
:
JsonElement
,
schema
:
LazySchema
<
T
>
,
context
:
TypeValidationContext
?
=
null
)
:
T